package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.Command;
import com.weirong.smartvault.entity.DeliveryLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;
import java.util.List;

/**
 * 于2017/11/29由 KFEB4 创建 .
 */
public interface DeliveryLogRepository extends JpaRepository<DeliveryLog,Integer>,JpaSpecificationExecutor<DeliveryLog> {
    public List<DeliveryLog> findByDeliveryTimeBetween(Date start, Date end);
}
